# -*- coding: utf-8 -*-
# Author  : Mo
# Time    : 2022/3/21/0021 7:59
from django.urls import path, re_path
from web.views import account
from web.views import home
from web.views import project

urlpatterns = [
    path('register/', account.register, name='register'),
    path('login/sms/', account.login_sms, name='login_sms'),
    re_path('login/', account.login, name='login'),
    re_path('image/code/', account.image_code, name='image_code'),
    re_path('send/sms/', account.send_sms, name='send_sms'),
    path('index/', home.index, name='index'),

    re_path('logout', account.logout, name='logout'),
    # 项目管理
    path('project/list/', project.project_list, name='project_list')

]